package com.modular.vo.security;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

@Setter
@Getter
public class BaseLogin implements Serializable {
    /**
     * token类型
     */
    private String tokenType;
    /**
     * 用户id
     */
    private String userId;
    /**
     * token
     */
    private String token;
    /**
     * 权限信息
     */
    private List<String> authorities;

    public interface TokenType{
        String MANAGER_TOKEN ="manager_token";
        String H5_TOKEN = "H5_token";
    }
}
